<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html lang="en">
<head>
<meta name="copyright" content="Copyright (c) IBM Corporation and others 2011, 2012. This page is made available under license. For full details see the LEGAL in the documentation book that contains this page." >
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<meta http-equiv="Content-Style-Type" content="text/css">
<link rel="STYLESHEET" href="../../book.css" charset="ISO-8859-1" type="text/css">
<title>Adopting 4.2 mechanisms and APIs</title>
</head>

<body>

<h1>Adopting 4.2 mechanisms and APIs</h1>

<p>
  This section describes changes that are required if you are trying to change 
  your 3.7 plug-in to adopt the 4.2 mechanisms and APIs.
</p>

<ol>
  <li><a href="#doNotCheckExistence">New member flag IContainer#DO_NOT_CHECK_EXISTENCE</a></li>
  <li><a href="#largeIcon">Large icons in product branding</a></li>
</ol>

<hr>

<!-- ############################################## -->
<h2>1. <a name="doNotCheckExistence">New member flag IContainer#DO_NOT_CHECK_EXISTENCE</a></h2>
<p>
The new flag may be used in:</p>
<ul>
  <li>IResource#accept(IResourceProxyVisitor, int)</li>
  <li>IResource#accept(IResourceVisitor, int, int)</li>
</ul>
<p>to indicate whether the resource should be checked for existence. If the flag is not
specified (recommended) and the resource does not exist, CoreException will be thrown.
Children of the resource are never checked for existence.</p>


<!-- ############################################## -->
<h2>2. <a name="largeIcon">Large icons in product branding</a></h2>
<p>
The Eclipse executable on Windows now includes a larger 256x256 icon image. If you are using a PDE product build
or the p2 publisher to apply branding for your own product, you will now need to include a 256x256 image in the .ico
file you specify for your product or build. Note that the p2 branding tool does not support compressed PNG images,
so currently all of your branding images must be uncompressed bitmaps.
</p>

<!-- ############################################## -->
</body>
</html>
